﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace IAS.WEB.Areas.Account.Controllers
{
    public class ForgetPasswordController : Controller
    {
        // GET: Account/ForgetPassword
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult ForgetPassword(string email)
        {
            if(string.IsNullOrEmpty(email))
            {
                ModelState.AddModelError("", "Email不能为空");
                return View("Index");
            }
            return View("ResetPasswordConfirmation");
        }
    }
}